package com.itheima.test02;

import java.io.File;
import java.io.IOException;

public class Test10 {
    public static void main(String[] args) throws IOException {
        File f1 = new File("d:\\code\\javaTest");
        File f2 = new File(f1,"java.txt");
        System.out.println(f1.mkdirs());
        System.out.println(f2.createNewFile());


    }
}
